package com.gitee.feizns.quickstart.ali.pay;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 支付配置类
 * <p>
 *     配置{@link com.alipay.api.AlipayConfig}即可开用.<br/>
 *     按需配置：付款同步回调{@link #returnUrl}；异步回调{@link #notifyUrl}
 * </p>
 * <a href="https://opendocs.alipay.com/open/200">支付宝文档</a>
 * <a href="https://opendocs.alipay.com/open/00a0ut">支付宝服务端文档</a>
 * @see com.alipay.api.AlipayConfig
 * @author feizns
 * @since 2023/3/1
 */
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class AlipayConfig extends com.alipay.api.AlipayConfig {

    /**
     * 异步回调地址
     */
    private String notifyUrl;

    /**
     * 同步回调地址
     */
    private String returnUrl;

}
